From: Kunal Mehta Date: Mon, 3 Jun 2019 00:56:10 +0000 (-0400) Subject: Hard-deprecate SkinFactory::getDefaultInstance() X-Git-Tag: 1.34.0-rc.0~1529 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=d061c27f45491d8364fea52736645753e4b535b2;p=lhc%2Fweb%2Fwiklou.git Hard-deprecate SkinFactory::getDefaultInstance() Was soft-deprecated in 1.27. Change-Id: I5f4afefc6c439c7e8d173a844c76ccd693f9bbf1 --- diff --git a/includes/skins/SkinFactory.php b/includes/skins/SkinFactory.php index cc993aaf9b..eb71fe6f35 100644 --- a/includes/skins/SkinFactory.php +++ b/includes/skins/SkinFactory.php @@ -48,6 +48,7 @@ class SkinFactory { * @return SkinFactory */ public static function getDefaultInstance() { + wfDeprecated( __METHOD__, '1.27' ); return MediaWikiServices::getInstance()->getSkinFactory(); }